package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.alibaba.fastjson.JSONObject;
import com.jic.order.entity.OrderPay;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单支付表
 * @author : yinhaijun
 * @email : 
 * @since : 2020-01-19 05:48:32
 * @version : v1.0.0
 */
@Mapper
public interface  OrderPayMapper {

    long insert(OrderPay orderPay);

    long delete(Long id);

    long update(OrderPay orderPay);

    OrderPay queryByPrimaryKey(Long id);

    List<OrderPay> query(OrderPay orderPay);

    List<OrderPay> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderPay") OrderPay orderPay);

    long queryPageCount(OrderPay orderPay);

    JSONObject  queryStepByParentOrderNo(@Param("parentOrderNo") String parentOrderNo);
}